package com.messe.base.models;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;


/**
 * PartyClassification entity. @author MyEclipse Persistence Tools
 */

public class PartyClassification  implements java.io.Serializable {


    // Fields    

     /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String partyClassificationId;
     private PartyClassification parentClassificationId;
     private String typeCode;// 1 观众问卷  2 展商问卷
     private Integer sortNum;
     private Timestamp createdStamp;
     private Organization organization;
     private Timestamp lastUpdatedStamp;
     
     private String misc;
     // 样式信息
     private String styleInfo;
     // 标题
     private String title;
     // 描述
     private String descrition;
     
     private Questionnaires questionnaires;
     
     private Set resourceRoletypeRels = new HashSet(0);
     private Set exhibitionClassificationVisitorRels = new HashSet(0);
     private Set personRoletypeRels = new HashSet(0);
     private Set organizationClassificationRels = new HashSet(0);
     private Set<PartyClassificationAppendix> partyClassificationAppendixes = new HashSet<PartyClassificationAppendix>(0);
     private Set exhibitionTypeRels = new HashSet(0);
     private Set<ServerFormPartyClassificationRel> serverFormPartyClassificationRels=new HashSet<ServerFormPartyClassificationRel>();
     private Set<PartyClassification> partyClassifications = new HashSet<PartyClassification>(0);
     
     private Set<VorFormsectionOptions> vorFormsectionOptions=new HashSet<VorFormsectionOptions>();
    // Constructors

     
     
    /** default constructor */
    public PartyClassification() {
    }

	public Set<VorFormsectionOptions> getVorFormsectionOptions() {
		return vorFormsectionOptions;
	}

	public void setVorFormsectionOptions(Set<VorFormsectionOptions> vorFormsectionOptions) {
		this.vorFormsectionOptions = vorFormsectionOptions;
	}

	/** minimal constructor */
    public PartyClassification(String partyClassificationId, Timestamp createdStamp) {
        this.partyClassificationId = partyClassificationId;
        this.createdStamp = createdStamp;
    }
   
    // Property accessors

    public String getPartyClassificationId() {
        return this.partyClassificationId;
    }
    
    public void setPartyClassificationId(String partyClassificationId) {
        this.partyClassificationId = partyClassificationId;
    }


	public Set<PartyClassification> getPartyClassifications() {
		return partyClassifications;
	}

	public void setPartyClassifications(Set<PartyClassification> partyClassifications) {
		this.partyClassifications = partyClassifications;
	}

	public PartyClassification getParentClassificationId() {
		return parentClassificationId;
	}

	public void setParentClassificationId(PartyClassification parentClassificationId) {
		this.parentClassificationId = parentClassificationId;
	}

	public String getTypeCode() {
        return this.typeCode;
    }
    
    public void setTypeCode(String typeCode) {
        this.typeCode = typeCode;
    }

    public Integer getSortNum() {
        return this.sortNum;
    }
    
    public void setSortNum(Integer sortNum) {
        this.sortNum = sortNum;
    }

    public Timestamp getCreatedStamp() {
        return this.createdStamp;
    }
    
    public void setCreatedStamp(Timestamp createdStamp) {
        this.createdStamp = createdStamp;
    }



    /**
	 * @return the lastUpdatedStamp
	 */
	public Timestamp getLastUpdatedStamp() {
		return lastUpdatedStamp;
	}

	/**
	 * @param lastUpdatedStamp the lastUpdatedStamp to set
	 */
	public void setLastUpdatedStamp(Timestamp lastUpdatedStamp) {
		this.lastUpdatedStamp = lastUpdatedStamp;
	}

	public Set getResourceRoletypeRels() {
        return this.resourceRoletypeRels;
    }
    
    public void setResourceRoletypeRels(Set resourceRoletypeRels) {
        this.resourceRoletypeRels = resourceRoletypeRels;
    }

    public Set getExhibitionClassificationVisitorRels() {
        return this.exhibitionClassificationVisitorRels;
    }
    
    public void setExhibitionClassificationVisitorRels(Set exhibitionClassificationVisitorRels) {
        this.exhibitionClassificationVisitorRels = exhibitionClassificationVisitorRels;
    }

    public Set getPersonRoletypeRels() {
        return this.personRoletypeRels;
    }
    
    public void setPersonRoletypeRels(Set personRoletypeRels) {
        this.personRoletypeRels = personRoletypeRels;
    }

    public Set getOrganizationClassificationRels() {
        return this.organizationClassificationRels;
    }
    
    public void setOrganizationClassificationRels(Set organizationClassificationRels) {
        this.organizationClassificationRels = organizationClassificationRels;
    }


    public Set<PartyClassificationAppendix> getPartyClassificationAppendixes() {
		return partyClassificationAppendixes;
	}

	public void setPartyClassificationAppendixes(
			Set<PartyClassificationAppendix> partyClassificationAppendixes) {
		this.partyClassificationAppendixes = partyClassificationAppendixes;
	}

	public Set getExhibitionTypeRels() {
        return this.exhibitionTypeRels;
    }
    
    public void setExhibitionTypeRels(Set exhibitionTypeRels) {
        this.exhibitionTypeRels = exhibitionTypeRels;
    }

	/**
	 * @return the serverFormPartyClassificationRels
	 */
	public Set<ServerFormPartyClassificationRel> getServerFormPartyClassificationRels() {
		return serverFormPartyClassificationRels;
	}

	/**
	 * @param serverFormPartyClassificationRels the serverFormPartyClassificationRels to set
	 */
	public void setServerFormPartyClassificationRels(Set<ServerFormPartyClassificationRel> serverFormPartyClassificationRels) {
		this.serverFormPartyClassificationRels = serverFormPartyClassificationRels;
	}

	public Organization getOrganization() {
		return organization;
	}

	public void setOrganization(Organization organization) {
		this.organization = organization;
	}

	public String getMisc() {
		return misc;
	}

	public void setMisc(String misc) {
		this.misc = misc;
	}

	/**
	 * @return the styleInfo
	 */
	public String getStyleInfo() {
		return styleInfo;
	}

	/**
	 * @param styleInfo the styleInfo to set
	 */
	public void setStyleInfo(String styleInfo) {
		this.styleInfo = styleInfo;
	}

	/**
	 * @return the title
	 */
	public String getTitle() {
		return title;
	}

	/**
	 * @param title the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}


	/**
	 * @return the descrition
	 */
	public String getDescrition() {
		return descrition;
	}

	/**
	 * @param descrition the descrition to set
	 */
	public void setDescrition(String descrition) {
		this.descrition = descrition;
	}

	/**
	 * @return the questionnaires
	 */
	public Questionnaires getQuestionnaires() {
		return questionnaires;
	}

	/**
	 * @param questionnaires the questionnaires to set
	 */
	public void setQuestionnaires(Questionnaires questionnaires) {
		this.questionnaires = questionnaires;
	}
   
	
	
}